<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0,
		minimum-scale=1.0, maximum-scale=1.0"/>
    <meta charset="UTF-8">
    <title></title>
    <link href="../public/css/style.css" rel="stylesheet">
    <link href="../public/css/common.css" rel="stylesheet">
</head>
<body class="layout_body">
<div class="layout_content">
    <header class="demo-header" style="padding-top: 10px;">
        <div class="titleLeft flt">
            <a href="index.html">
                <img src="../public/img/back.png" width="35px" height="33px">
            </a>
        </div>
        <div class="titleRight flt text-center">商品详情</div>
    </header>
    <div class="product-list newproduct" style="padding-bottom: 0;">
        <?php if (isset($productData)){ ?>
            <?php foreach ($productData as $key => $product){ ?>
                <div>
                    <img src="<?php echo $product['img']?>"/>
                    <div class="flt pline">
                        <p class="product"><?php echo $product['product_name']?></p>
                        <p class="guige"><?php echo $product['mass_packing']?></p>
                        <p class="price">￥<?php echo $product['price']?></p>
                    </div>
                    <div class="flt cart" style="padding-top: 13%;">x <?php echo $product['amount']?></div>
                </div>
            <?php } ?>
        <?php } ?>
    </div>
</div>
</body>
</html>
